package com.jk.service;

import com.jk.dto.TbStudent;
import com.jk.pojo.PagedResponse;
import com.jk.pojo.ResponseResult;

import java.util.List;

public interface TbStudentService {

    //查询

    public PagedResponse<TbStudent> findTbStudentList(TbStudent tbStudent, Integer pageNum, Integer pageSize);
    //新增

    public void addStudent( TbStudent tbStudent);


    public TbStudent findStudentByUserName(String username);

    void deleteStudentById(Integer id);

    TbStudent getStudentById(Integer id);

    void upStudent(TbStudent tbStudent);

    void upstatus(TbStudent tbStudent);

    void updatestatus(TbStudent tbStudent);

    List<TbStudent> findTbStudent();
}
